package com.gs.xbinfomytest.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import com.gs.xbinfomytest.entity.SysPost;

/**
 * 岗位信息表
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DSysPost extends TableExpression<SysPost> {

    public DSysPost(String root) {
        super(root);
    }

    public static DSysPost DSL() {
        return new DSysPost("sys_post");
    }

    /**
     * 岗位ID
     */
    public ColumnExpression postId = new ColumnExpression("post_id", this);
    /**
     * 岗位编码
     */
    public ColumnExpression postCode = new ColumnExpression("post_code", this);
    /**
     * 岗位名称
     */
    public ColumnExpression postName = new ColumnExpression("post_name", this);
    /**
     * 显示顺序
     */
    public ColumnExpression postSort = new ColumnExpression("post_sort", this);
    /**
     * 状态（0正常 1停用）
     */
    public ColumnExpression status = new ColumnExpression("status", this);
    /**
     * 创建者
     */
    public ColumnExpression createBy = new ColumnExpression("create_by", this);
    /**
     * 创建时间
     */
    public ColumnExpression createTime = new ColumnExpression("create_time", this);
    /**
     * 更新者
     */
    public ColumnExpression updateBy = new ColumnExpression("update_by", this);
    /**
     * 更新时间
     */
    public ColumnExpression updateTime = new ColumnExpression("update_time", this);
    /**
     * 备注
     */
    public ColumnExpression remark = new ColumnExpression("remark", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{postId, postCode, postName, postSort, status, createBy, createTime, updateBy, updateTime, remark};
    }

}

